import request from '@/common/js/request.js';

// 获取医院列表
export const getHospitalList = (data) => {
	return request.post('/api/statistics/hospitals', data);
};

/**
 * 获取医院区域列表
 */
export const getHospitalAreaList = (data) => {
	return request.post('/api/statistics/areas', data);
};

//添加习惯和医院关联
export const addHabitHospital = (data) => {
	return request.post('/api/user/add_habit_hospital_rela', data);
};

//获取习惯和医院关联
export const getHabitHospital = (data) => {
	return request.post('/api/user/get_habit_hospital_rela', data);
};
